﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;

namespace UniMana.Data
{
    public static class Personnel_WorkTypeData
    {
        public static IQueryable GetDataKeyName(this Table<Personnel_WorkType> nPersonnel_WorkType)
        {
            var values = from w in nPersonnel_WorkType
                         select new
                         {
                             w.Personnel_WorkTypeKey,
                             w.Name
                         };
            return values.Distinct();
        }
    }
}
